package ranks;

import main.User;

public abstract class Rank {
   
   private String name;
   private User user;
   
   public Rank(User user) {
      this.user = user;
   }
   
   public abstract void sendServerMsg(String msg);
   
   public abstract void sendRoomMsg(String msg);
   
   public abstract void kick(User user);

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   @Override
   public String toString() {
      return name;
   }

   public User getUser() {
      return user;
   }

   public void setUser(User user) {
      this.user = user;
   }

}
